#ifndef LOGWIDGET_H
#define LOGWIDGET_H

#include <QWidget>
#include <QLabel>
#include <QPushButton>
#include <QTableWidget>
#include "model/logmodel.h"
#include <QHeaderView>

class LogWidget : public QWidget
{
    Q_OBJECT
public:
    LogWidget(QWidget *parent = nullptr);
    ~LogWidget();
    void init_window();
    void init_control();
    void init_connect();

private:
    QLabel *title;
    QPushButton *backBtn;
    QTableWidget *tableWidget;

signals:
    void backToMain();
};

#endif // LOGWIDGET_H
